﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EventBus.Abstractions
{
    public interface IEventSubscriber
    {
        void Subscribe<TEvent, TEventHandler>(TEvent @event, TEventHandler eventHandler)
            where TEvent : IEvent
            where TEventHandler : IEventHandler;
    }
}
